﻿using System;
using System.Collections.Generic;
using InvestmentIntelligence.TradingData.DataLoaders.Csv.FieldsConfiguration;
using InvestmentIntelligence.TradingData.TradingDataIdentityModels;

namespace InvestmentIntelligence.TradingData.Handlers.Mus.FieldsConfiguration
{
    public class TradesFields : BaseCsvFields
    {
        public TradesFields()
        {
            FieldList = new List<FieldModel>
            {
                new FieldModel("Date", "Date", typeof (DateTime)),
                new FieldModel("Identity", "OriginalId", typeof (string)),
                new FieldModel("FundBook", "FundCode", typeof (string)),
                new FieldModel("SecurityName", "Security Name", typeof (string)),
                new FieldModel("Quantity", "Quantity", typeof (decimal)),
                new FieldModel("Price", "Price", typeof (decimal)),
                new FieldModel("Isin", "Isin", typeof (string)),
                new FieldModel("Sedol", "Sedol", typeof (string)),
                new FieldModel("Currency", "CurrencyId", typeof (string)),
                new FieldModel("Status", "Status", typeof (string)),
                new FieldModel("Mic", "Mic", typeof (string)),
                new FieldModel("Ric", "Ric", typeof (string)),
                new FieldModel("FxRate", "FxRate", typeof (string)),
                new FieldModel("EntryTypeName", "Trade Entry Type Name", typeof (string)),
                new FieldModel("CustomIdentificator", "", typeof (string)),
            };
        }
    }
}
